package com.treeroot.userservice.user.client;

import com.treeroot.commonutils.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;




/**
 * @Description:
 * @Author:treeRoot
 * @Email:553503639@qq.com
 * @Date: Create in 15:20 / 2022/5/5
 */

@FeignClient(name = "service-upload")   //name：调用的服务名称，fallback:熔断器实现类
@Component //交给spring管理
public interface UploadClient {

    //    上传返回url
    @GetMapping("/pc/test")
    R test();
}
